package ua.amsoft.brelok.dao;

import java.util.Date;

import ua.amsoft.brelok.dto.DepartamentUsageResultReports;
import android.content.ContentValues;
import android.database.Cursor;

/**
 * @author Tair Mustafaiev
 */
public interface IDepartamentUsageReportsDAO extends IBaseDAO<DepartamentUsageResultReports> {
    
    /**
     * Returns Departament Usage Report file from database by passed updatedDate
     * parameter
     * 
     * @param date {@link Date}
     * @return {@link Cursor}
     */
    DepartamentUsageResultReports getByUpdatedDate(Date date);
    
    /**
     * Updates database table values by deleting all from table and inserting
     * new record
     * 
     * @param values - {@link ContentValues}
     */
    void forceUpdateTable(ContentValues values);
}
